package putao.ui.events
{
	import flash.events.Event;
	
	public class PRadioButtonEvent extends Event
	{
		public static const SELECT:String = "PRadioButtonEvent_SELECT";
		
		/**
		 * 单选按钮在radioButtonGroup中的id
		 * -1表示单选按钮并未加到radioButtonGroup中
		 */			
		public var id:int = -1;
		
		public function PRadioButtonEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			var e:PRadioButtonEvent = new PRadioButtonEvent(type, bubbles, cancelable);
			e.id = id;
			return e;
		}
		
	}
}